package com.yl.auth.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author yl
 * @since 2023-06-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("行政查房查房人实体类")
@TableName("xingzhengchafang")
public class XingZhengChaFang implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @ApiModelProperty("主键Id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 查房人
     */
    @ApiModelProperty("查房人")
    private String name;

    /**
     * 记录时间
     */
    @ApiModelProperty("记录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss")
    private Date writeTime;

    /**
     * 逻辑删除
     */
    @ApiModelProperty("软删除 0未删除 1已删除")
    @TableField
    @TableLogic
    private Integer isDelete;


    @TableField(exist = false)
    @TableLogic
    private XingZhengChaFangXiangQing xingZhengChaFangXiangQing;

}
